package com.example.lemoncommon.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResultEnum {

    // 统一结果返回码
    SUCCESS("0", "成功"),
    RETRY("-1", "请求失败,请稍后重试"),
    NO_VALID_PARAM("1", "请求参数有误"),
    FAIL("400", "请求失败"),
    NOT_ORDINARY_DEVICE("401", "非常用设备登录");

    private String code;

    private String message;

}
